package com.medicine.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.medicine.sys.entity.Department;
import com.medicine.sys.entity.UserDepartment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDepartmentMapper extends BaseMapper<UserDepartment> {

    Department getOneUserId(@Param("userId") String userId);

}
